package com.dj.aclservice;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.ConfigurableApplicationContext;

import java.util.Arrays;


// @SpringBootApplication(scanBasePackages = "org.sang.service")
// @SpringBootApplication
@SpringBootApplication(scanBasePackages = {"com.dj.security","com.dj.aclservice", "com.dj.utils"})
@EnableDiscoveryClient
public class ServiceAclApplication {

    public static void main(String[] args) {
        ConfigurableApplicationContext run = SpringApplication.run(ServiceAclApplication.class, args);
        System.out.println("===");
        Arrays.stream(run.getBeanDefinitionNames()).forEach(System.out::println);
        System.out.println("===");
    }

}
